package com.lineage.server.serverpackets;

import com.lineage.server.model.Instance.L1ItemInstance;

public class S_Letter extends ServerBasePacket {
  private byte[] _byte;
  
  public S_Letter(L1ItemInstance item) {
    this._byte = null;
  }
  
  public S_Letter() {
    this._byte = null;
    writeD(0);
    writeH(615);
    writeH(0);
    writeS("123");
    writeS("456");
    writeByte(null);
    writeByte(null);
    writeC(0);
    writeS("info");
  }
  
  public byte[] getContent() {
    if (this._byte == null)
      this._byte = getBytes(); 
    return this._byte;
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
